<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:104:"E:\www\sungmu.net\crm.manage.dev.sungmu.net\public/themes/admin_simpleboot3/admin\api_resume\indexs.html";i:1753872260;s:94:"E:\www\sungmu.net\crm.manage.dev.sungmu.net\public\themes\admin_simpleboot3\public\header.html";i:1753343380;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- HTML5 shim for IE8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <![endif]-->


    <link href="/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
    <link href="/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        form .input-order {
            margin-bottom: 0px;
            padding: 0 2px;
            width: 42px;
            font-size: 12px;
        }

        form .input-order:focus {
            outline: none;
        }

        .table-actions {
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 0px;
        }

        .table-list {
            margin-bottom: 0px;
        }

        .form-required {
            color: red;
        }
    </style>
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
        };
    </script>
    <script src="/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/static/js/wind.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip({
                container:'body',
                html:true,
            });
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>
    <?php if(APP_DEBUG): ?>
        <style>
            #think_page_trace_open {
                z-index: 9999;
            }
        </style>
    <?php endif; ?>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">列表</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="">&nbsp;
        游玩日期:
            <input type="text" class="form-control js-bootstrap-date" name="start_time" value="<?php echo $start_time; ?>" style="width:120px;" autocomplete="off">-
            <input type="text" class="form-control js-bootstrap-date" name="end_time" value="<?php echo $end_time; ?>" style="width:120px;" autocomplete="off">
        <select class="form-control" name="searchType" id="searchType" aria-invalid="false">
            <option value=""
            <?php if(empty($searchType) || (($searchType instanceof \think\Collection || $searchType instanceof \think\Paginator ) && $searchType->isEmpty())): ?>selected="selected"<?php endif; ?> >--请选择--</option>
            <option value="b.spot_title" <?php if($searchType == 'b.spot_title'): ?>selected="selected"<?php endif; ?> >景区</option>
            <option value="c.supplier_title" <?php if($searchType == 'c.supplier_title'): ?>selected="selected"<?php endif; ?> >分销商</option>
            <option value="a.resume_name" <?php if($searchType == 'a.resume_name'): ?>selected="selected"<?php endif; ?> >姓名</option>
        </select>
        <input class="form-control" type="text" name="keyword" style="width:200px;" value="<?php echo $keyword; ?>" placeholder="请输入关键词">
        <button type="submit" class="btn btn-primary" name="action" value="0">搜索</button>
        <a class="btn btn-danger" href="<?php echo url('indexs'); ?>">清空</a>
        <button type="submit" class="btn btn-success" name="action" value="1">导出CSV</button>
        <span style="color:red;">已通过人数：<?php echo (isset($infos['passCount']) && ($infos['passCount'] !== '')?$infos['passCount']:'0'); ?>人</span>
    </form>
    <form method="post" class="js-ajax-form" action="<?php echo url('sort'); ?>">
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="">景区</th>
                <th width="">分销商</th>
                <th width="">游玩日期</th>
                <th width="">姓名</th>
                <th width="">联系电话</th>
                <th width="">性别</th>
                <th width="">年龄</th>
                <th width="">类型</th>
                <th width="">证件号</th>
                <th width="">添加时间</th>
                <th width="">修改时间</th>
                <th width="">状态</th>
            </tr>
            </thead>
            <?php if(is_array($infos['list']) || $infos['list'] instanceof \think\Collection || $infos['list'] instanceof \think\Paginator): $i = 0; $__LIST__ = $infos['list'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <tr>
                <td><?php echo (mb_substr($vo['spot_title'],0,20,'utf-8') ?: '---'); ?></td>
                <td><?php echo (mb_substr($vo['supplier_title'],0,20,'utf-8') ?: '---'); ?></td>
                <td><?php echo $vo['resume_date']; ?></td>
                <td><?php echo (mb_substr($vo['resume_name'],0,15,'utf-8') ?: '---'); ?></td>
                <td><?php echo (mb_substr($vo['resume_mobile'],0,22,'utf-8') ?: '---'); ?></td>
                <td><?php echo (mb_substr($vo['resume_sex'],0,20,'utf-8') ?: '---'); ?></td>
                <td><?php echo (mb_substr($vo['resume_age'],0,20,'utf-8') ?: '---'); ?></td>
                <td><?php echo $infos['idTypeArr'][$vo['id_type']]; ?></td>
                <td><?php echo (mb_substr($vo['resume_number'],0,20,'utf-8') ?: '---'); ?></td>
                <td>
                    <?php if($vo['create_time'] > '0'): ?><?php echo date('Y-m-d H:i',$vo['create_time']); endif; ?>
                </td>
                <td>
                    <?php if($vo['update_time'] > '0'): ?><?php echo date('Y-m-d H:i',$vo['update_time']); endif; ?>
                </td>
                <td><?php echo $infos['resumStatusArr'][$vo['status']]; ?></td>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </table>
        <ul class="pagination"><?php echo ($infos['list']->render () ?: ''); ?></ul>
    </form>
    </div>
<script src="/static/js/admin.js"></script>
</body>
</html>